﻿@model MvcOrganizer.Models.LoginModel
@{
    ViewBag.Title = "Log in";
}
<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
</hgroup>
<section id="loginForm">
    @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
    {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary()

        <p>
            @Html.ActionLink("Register", "Register") if you don't have an account.
        </p>
        
        <div class="form_settings">
            <p>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
                @*@Html.ValidationMessageFor(m => m.UserName)*@
            </p>
            <p>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
                @*@Html.ValidationMessageFor(m => m.Password)*@
            </p>
            <p>
                @Html.LabelFor(m => m.RememberMe)
                @Html.CheckBoxFor(m => m.RememberMe, new { @class = "checkbox" })
            </p>
            <p style="padding-top: 15px">
                <span>&nbsp;</span>
                <input type="submit" value="Log in" class="submit" />
            </p>
        </div>
    }
</section>
@*<section class="social" id="socialLoginForm">
    <h2>
        Use another service to log in.</h2>
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</section>*@
